<template>
	<vi-loading ref="loading"
		:sizeNum="4"
		type="black"
		loadingMode="rotateRing-3"
		:loading="loading"
		:useMask="loadingMask">
		<!-- 填入企业logo -->
		载入中
	</vi-loading>
</template>

<script>
	export default {
		name:"commonLoading",
		props:{
			loading:{
				type:Boolean,
				default:false
			},
			loadingMask:{
				type:Boolean,
				default:false
			}
		},
		data() {
			return {
				
			}
		},
		computed: {
			
		},
		methods: {
			open() {
				this.$refs.loading.open()
			},
			close() {
				this.$refs.loading.close()
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>